import service from "../../utils/requst"

//人数运营列表
export function xlq_operatelist(payload = {}) {
    return service({
        url: '/operatelist',
        params: payload,
        method: 'get'
    })
}
//人数运营新增
export function xlq_operateadd(payload = {}) {
    return service({
        url: '/operatelist',
        data: payload,
        method: 'post'
    })
}
//人数运营删除
export function xlq_operatedelete(payload: any = {}) {
    return service({
        url: '/operatelist/' + payload.id,
        data: payload,
        method: 'delete'
    })
}
//人数运营编辑
export function xlq_operatesave(payload: any = {}) {
    return service({
        url: '/operatelist/' + payload.id,
        data: payload.data,
        method: 'put'
    })
}